package com.osi.mes.qm.base.constants;

public interface IATDeviation {
	public final static String AT_DEVIATION_REC = "osi_base_QMDeviationRec";
	public final static String AT_DEVIATION_FIND_AREA = "find_area";
	public final static String AT_DEVIATION_LOT_NO = "lotNo";
	public final static String AT_DEVIATION_PRODUCE_STEP = "produceStep";
	public final static String AT_DEVIATION_OTHER_AREA_NAME = "other_area_name";
	public final static String AT_DEVIATION_MAT_NAME = "mat_name";
	public final static String AT_DEVIATION_MAT_VENDOR = "mat_vendor";
	public final static String AT_DEVIATION_PRODUCE_TIME = "mat_produce_time";
	public final static String AT_DEVIATION_MAT_REC_TIME = "mat_rec_time";
	public final static String AT_DEVIATION_MAT_REC_QTY = "mat_rec_qty";
	public final static String AT_DEVIATION_MAT_CHK_TIME = "mat_chk_time";
	public final static String AT_DEVIATION_SAMPLE_CHK_QTY = "sample_chk_qty";
	public final static String AT_DEVIATION_MAT_CODE = "mat_code";
	public final static String AT_DEVIATION_CONTAINER_NO = "container_no";
	public final static String AT_DEVIATION_AGENT = "agent";
	public final static String AT_DEVIATION_IN_ANY_PROCESS = "in_any_process";
	public final static String AT_DEVIATION_IN_WHAT_POSITION = "in_what_position";
	public final static String AT_DEVIATION_HOW_TO_FIND = "how_to_find";
	public final static String AT_DEVIATION_NOT_MEET_SPECIFIC = "not_meet_specific";
	public final static String AT_DEVIATION_IS_REASON_OK = "isReasonOK";
	public final static String AT_DEVIATION_REASON_SPECIFIC = "reason_specific";
	public final static String AT_DEVIATION_FIND_USER = "find_user";
	public final static String AT_DEVIATION_FIND_TIME = "find_time";
	public final static String AT_DEVIATION_STATE = "state";
	public final static String AT_DEVIATION_FEED_BACK = "feed_back_dept";
	
	//偏差记录发现环节
	public final static int DEVIATION_FIND_PRODUCTION = 1;
	public final static int DEVIATION_FIND_MAT_REC = 2;
	public final static int DEVIATION_FIND_BEF_PROD = 3;
	public final static int DEVIATION_FIND_PROD_CHK = 4;
	public final static int DEVIATION_FIND_CLEAN = 5;
	public final static int DEVIATION_FIND_STORE = 6;
	public final static int DEVIATION_FIND_SHIP_PROD = 7;
	public final static int DEVIATION_FIND_OTHER = 8;
	
	//偏差记录的状态
	public final static String DEVIATION_STATE_QC = "QC指令";
	public final static String DEVIATION_STATE_QC_DIRECTOR = "QC主管审核";
	public final static String DEVIATION_STATE_QA = "QA指令";
	public final static String DEVIATION_STATE_QA_MANAGER = "QA经理确认";
	public final static String DEVIATION_STATE_COMPLETE = "结束";
	public final static String DEVIATION_STATE_CLOSE = "关闭";
	
	
}
